'   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 '     F O R M A T   X M L   D E M O 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 C o n t r o l s   O p e n T e x t B o x 
 
 B u t t o n   1   T e x t   O R I G I N A L   X M L 
 
 B u t t o n   3   T e x t   F o r m a t _ W i t h R e p l a c e 
 
 B u t t o n   4   T e x t   F o r m a t _ D e f a u l t S p a c e s 
 
 B u t t o n   5   T e x t   F o r m a t _ 0 - S p a c e s 
 
 B u t t o n   6   T e x t   F o r m a t _ 5 - S p a c e s 
 
 S t o p 
 
 
 
 V a r i a b l e   S t r i n g   X M L 
 
 
 
 L a b e l   O R I G I N A L   X M L 
 
 	 L o a d   X M L   " P l a n e s . x m l " 
 
 	 C o n t r o l s   C l e a r T e x t B o x 
 
 	 P r i n t   X M L 
 
 R e t u r n 
 
 
 
 L a b e l   F o r m a t _ W i t h R e p l a c e 
 
 	 L o a d   X M L   " P l a n e s . x m l " 
 
 	 X M L   =   R e p l a c e ( X M L ,   " > < " ,   " > "   +   C R L F   +   " < " ) 
 
 	 C o n t r o l s   C l e a r T e x t B o x 
 
 	 P r i n t   X M L 
 
 R e t u r n 
 
 
 
 L a b e l   F o r m a t _ D e f a u l t S p a c e s 
 
 	 L o a d   X M L   " P l a n e s . x m l " 
 
 	 X M L   =   F o r m a t X M L ( X M L ) 
 
 	 C o n t r o l s   C l e a r T e x t B o x 
 
 	 P r i n t   X M L 
 
 R e t u r n 
 
 
 
 L a b e l   F o r m a t _ 0 - S p a c e s 
 
 	 L o a d   X M L   " P l a n e s . x m l " 
 
 	 X M L   =   F o r m a t X M L ( X M L ,   0 ) 
 
 	 C o n t r o l s   C l e a r T e x t B o x 
 
 	 P r i n t   X M L 
 
 R e t u r n 
 
 
 
 L a b e l   F o r m a t _ 5 - S p a c e s 
 
 	 L o a d   X M L   " P l a n e s . x m l " 
 
 	 X M L   =   F o r m a t X M L ( X M L ,   5 ) 
 
 	 C o n t r o l s   C l e a r T e x t B o x 
 
 	 P r i n t   X M L 
 
 R e t u r n 
 
 
 
 
 
 ' W A T C H   v 1 
 
 ' W A T C H   G e t S e p a r a t e d S t r i n g ( S e q u e n c e C m d ,   1 ) 
 
 ' W A T C H   s t r 1 
 
 